<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <title>leonzhangxf</title>
</head>
<body>

<h1 onclick="window.location.href = '/swagger'">hello leonzhangxf</h1>

<div class="cli">click to console log</div>

</body>
<script>
    document.querySelector('.cli').addEventListener('click', function () {
        let app = document.createElement('div');
        app.innerText = 'hello leon';
        document.querySelector('.cli').appendChild(app);
    }, false);
</script>
</html>